package com.cheng.example.geektime.designpatterns.j56.define;


/**
 * 观察者1
 */
public class ConcreteObserverOne implements Observer {

    @Override
    public void update(Message message) {
        //TODO: 获取消息通知，执行自己的逻辑...
        System.out.println("ConcreteObserverOne is notified: "+message.getMassage());
    }
}